<?php use_helper('I18N') ?>

<?php if ( $form->renderGlobalErrors()):?>
  <div class="error"><?php echo $form->renderGlobalErrors() ?></div>
<?php endif;?>
<form action="<?php echo url_for('@sf_guard_signin') ?>" method="post">
  <fieldset>
		
			<div class="content-identification">
                            <div class="nofloat">
				<span class="lienssup pseudo_connect"><?php echo __('Pseudo or E-mail') ?></span>
				<span class="lienssup"><?php echo __('Password') ?></span>
                            </div>
                            <div class="nofloat">
                                <div class="form-row">
                                        <span class="field-label"><?php echo $form['username']->renderLabel() ?></span>
                                        <span class="field-widget"><?php echo $form['username'] ?></span>
                                        <?php echo $form['username']->renderError() ?>
                                </div>
                                <div class="form-row">
                                        <span class="field-label"><?php echo $form['password']->renderLabel() ?></span>
                                        <span class="field-widget"><?php echo $form['password'] ?></span>
                                        <?php echo $form['password']->renderError() ?>
                                </div>
                                <div class="clear"></div>
                            </div>
                            <div class="nofloat">
				<span class="lienssup"><a href="<?php echo url_for('@sf_guard_forgot_password'); ?>"><?php echo  __('Forgot your password?',null, 'messages'); ?></a></span>
				<span class="lienssup"><a href="<?php echo url_for('@sf_guard_register'); ?>"><?php echo __('register') ?></a></span>
                            </div>
                        </div>
			<div class="form-connexion">
				<span class="left_btn"><span class="right_btn"><span class="rpt_btn"><input type="submit" value="Connexion" class="btn_valider"/></span></span></span>				
			</div><div class="clear"></div>
		  <?php echo $form['_csrf_token'] ?>	
  </fieldset>
</form>